package interview.innerClass;

/**内部类的实现方式
 * @Author: Jun
 * @Date: 2018/9/8 19:48
 */
public class OutClassDemo {
    private class InterClass{
        public InterClass() {
            System.out.println("interClass");
        }
    }

    public OutClassDemo() {
        InterClass interClass=new InterClass();
        System.out.println("OutClass");
    }

    public static void main(String[] args) {
        OutClassDemo outClassDemo=new OutClassDemo();
    }
}
